﻿using Abp.Application.Services;
using Sunlit.Business.Commerces.Dto;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Sunlit.Business.Commerces
{
    public interface ICommerceCateAppService: IAsyncCrudAppService<CommerceCateDto,
        int,GetAllCommerceCateInput,CreateCommerceCateInput,UpdateCommerceCateInput>
    {
        /// <summary>
        /// 获取所有类别
        /// </summary>
        /// <returns></returns>
        Task<List<CommerceCateDto>> GetAllList();
        /// <summary>
        /// 获取首页显示的所有类别
        /// </summary>
        /// <returns></returns>
        Task<List<CommerceCateDto>> GetAllOnHomeList();
    }
}
